﻿/******************************************************************
** 文 件 名: BD_Project.cs
** Copyright (c) 2010-2012 Honestysoft (GuangZhou) Co.,LTD
** 创 建 人: 此代码由生成器自动生成
** 创建日期: 2012-4-3 14:05:35
** 描    述: 基础资料-项目信息的实体类
** 版    本: 2.0.0.0
** 修改描述:
** 修 改 人:
** 修改日期:
******************************************************************/
using System;
using System.Data;
using Honestysoft.BaseObject;

namespace Honestysoft.Financing.Model
{
	[Serializable]
	[Table("BD_Project","ID")]
	public partial class BD_Project : IEntity
    {			
		/// <summary>
        /// 标识
        /// </summary>
		[Column("ID", DbType.AnsiString, 36, false)]
		public string ID
		{
			get;
			set;
		}
		/// <summary>
        /// 项目代码
        /// </summary>
		[Column("Code", DbType.AnsiString, 200, true)]
		public string Code
		{
			get;
			set;
		}
		/// <summary>
        /// 编号
        /// </summary>
		[Column("SN", DbType.AnsiString, 200, false)]
		public string SN
		{
			get;
			set;
		}
		/// <summary>
        /// F项目号
        /// </summary>
		[Column("FCode", DbType.AnsiString, 200, false)]
		public string FCode
		{
			get;
			set;
		}
		/// <summary>
        /// 项目类别
        /// </summary>
		[Column("ProjectCategory", DbType.AnsiString, 8, false)]
		public string ProjectCategory
		{
			get;
			set;
		}
		/// <summary>
        /// 项目名称
        /// </summary>
		[Column("Name", DbType.AnsiString, 200, false)]
		public string Name
		{
			get;
			set;
		}
		/// <summary>
        /// 项目简称
        /// </summary>
		[Column("ShortName", DbType.AnsiString, 200, true)]
		public string ShortName
		{
			get;
			set;
		}
		/// <summary>
        /// 项目文号
        /// </summary>
		[Column("OfficialNo", DbType.AnsiString, 200, true)]
		public string OfficialNo
		{
			get;
			set;
		}
		/// <summary>
        /// 是否属于拆分项目
        /// </summary>
		[Column("IsSplit", DbType.Boolean, 1, false)]
		public bool IsSplit
		{
			get;
			set;
		}
		/// <summary>
        /// 项目单位
        /// </summary>
		[Column("Owner971", DbType.AnsiString, 36, false)]
		public string Owner971
		{
			get;
			set;
		}
		/// <summary>
        /// 建设单位
        /// </summary>
		[Column("Owner", DbType.AnsiString, 36, false)]
		public string Owner
		{
			get;
			set;
		}
		/// <summary>
        /// 代建单位
        /// </summary>
		[Column("DOwner", DbType.AnsiString, 36, true)]
		public string DOwner
		{
			get;
			set;
		}
		/// <summary>
        /// 建设性质
        /// </summary>
		[Column("ConType", DbType.AnsiString, 6, false)]
		public string ConType
		{
			get;
			set;
		}
		/// <summary>
        /// 计划开工日期
        /// </summary>
		[Column("PlanStart", DbType.DateTime, 8, true)]
		public DateTime? PlanStart
		{
			get;
			set;
		}
		/// <summary>
        /// 计划竣工日期
        /// </summary>
		[Column("PlanEnd", DbType.DateTime, 8, true)]
		public DateTime? PlanEnd
		{
			get;
			set;
		}
		/// <summary>
        /// 实际开工日期
        /// </summary>
		[Column("StartDate", DbType.DateTime, 8, true)]
		public DateTime? StartDate
		{
			get;
			set;
		}
		/// <summary>
        /// 预计竣工日期
        /// </summary>
		[Column("EndDate", DbType.DateTime, 8, true)]
		public DateTime? EndDate
		{
			get;
			set;
		}
		/// <summary>
        /// 项目阶段
        /// </summary>
		[Column("ProjectPhase", DbType.AnsiString, 6, false)]
		public string ProjectPhase
		{
			get;
			set;
		}
		/// <summary>
        /// 联系人
        /// </summary>
		[Column("Contact", DbType.AnsiString, 200, true)]
		public string Contact
		{
			get;
			set;
		}
		/// <summary>
        /// 联系人电话
        /// </summary>
		[Column("ContactPhone", DbType.AnsiString, 30, true)]
		public string ContactPhone
		{
			get;
			set;
		}
		/// <summary>
        /// 工程进展
        /// </summary>
		[Column("Progress", DbType.AnsiString, 16, true)]
		public string Progress
		{
			get;
			set;
		}
		/// <summary>
        /// 建设规模
        /// </summary>
		[Column("Scale", DbType.AnsiString, 16, true)]
		public string Scale
		{
			get;
			set;
		}
		/// <summary>
        /// 主要建设内容
        /// </summary>
		[Column("Content", DbType.AnsiString, 16, true)]
		public string Content
		{
			get;
			set;
		}
		/// <summary>
        /// 工程信息
        /// </summary>
		[Column("Infor", DbType.AnsiString, 16, true)]
		public string Infor
		{
			get;
			set;
		}
		/// <summary>
        /// 工程概况
        /// </summary>
		[Column("Overview", DbType.AnsiString, 16, true)]
		public string Overview
		{
			get;
			set;
		}
		/// <summary>
        /// 存在问题
        /// </summary>
		[Column("Problems", DbType.AnsiString, 16, true)]
		public string Problems
		{
			get;
			set;
		}
		/// <summary>
        /// 备注
        /// </summary>
		[Column("Remark", DbType.AnsiString, 16, true)]
		public string Remark
		{
			get;
			set;
		}
		/// <summary>
        /// 本项目2010年及以前财政累计安排投资（以971号文件为准）
        /// </summary>
		[Column("FinInvestment", DbType.Decimal, 13, false)]
		public decimal FinInvestment
		{
			get;
			set;
		}
		/// <summary>
        /// 前期拨付资金
        /// </summary>
		[Column("Stage", DbType.Decimal, 13, false)]
		public decimal Stage
		{
			get;
			set;
		}
		/// <summary>
        /// 总投资
        /// </summary>
		[Column("Investment", DbType.Decimal, 13, false)]
		public decimal Investment
		{
			get;
			set;
		}
		/// <summary>
        /// 总投资类型
        /// </summary>
		[Column("InvestmentType", DbType.AnsiString, 6, false)]
		public string InvestmentType
		{
			get;
			set;
		}
		/// <summary>
        /// 资本金到位金额
        /// </summary>
		[Column("TotalCapitalAmount", DbType.Decimal, 13, false)]
		public decimal TotalCapitalAmount
		{
			get;
			set;
		}
		/// <summary>
        /// 排序号
        /// </summary>
		[Column("SortCode", DbType.Int32, 4, false)]
		public int SortCode
		{
			get;
			set;
		}
		/// <summary>
        /// 初始化已确认
        /// </summary>
		[Column("IsInit", DbType.Boolean, 1, false)]
		public bool IsInit
		{
			get;
			set;
		}
		/// <summary>
        /// 确认人
        /// </summary>
		[Column("ConfirmUser", DbType.AnsiString, 36, true)]
		public string ConfirmUser
		{
			get;
			set;
		}
		/// <summary>
        /// 确认时间
        /// </summary>
		[Column("ConfirmTime", DbType.DateTime, 8, true)]
		public DateTime? ConfirmTime
		{
			get;
			set;
		}
		/// <summary>
        /// 意见
        /// </summary>
		[Column("ConfirmOpinion", DbType.AnsiString, 16, true)]
		public string ConfirmOpinion
		{
			get;
			set;
		}

        /// <summary>
        /// 是否动态拆分项目
        /// </summary>
        [Column("IsDymSplit", DbType.Boolean, 1, false)]
        public bool IsDymSplit
        {
            get;
            set;
        }
    }
}	
